const mongoose=require("mongoose");
const Schema=mongoose.Schema;


mongoose.connect(`mongodb://127.0.0.1:27017/imgbase`,{
    useNewUrlParserL:true,
    useUnifiedTopology:true
});



let recommendShema=new Schema({
    //用户编号
    secretID:{
         type:String,
         require:true,
         unique:true
    },
});

let secret =mongoose.model("secret",recommendShema);

module.exports={
    recommendTable:secret
}






